package top.api.domain.dto;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
/**
* @Description: 修改保存群组信息
* @Param:
* @return:
* @Author: zqh
* @Date: 2024/5/29
*/

@Data
public class GroupInfoDto {

    //群组id
    private String groupId;
    //群组名
    @NotEmpty(message = "群组不能为空")
    private String groupName;

    //公告
    private String groupNotice;
    //群组类型
    @NotNull(message = "不能为空")
    private Integer joinType;
    //头像
    private MultipartFile avatarFile;
    //背景
    private MultipartFile avatarCover;
}
